using System;

namespace gtalk
{
    /// <summary>
    /// Summary description for Config.
    /// </summary>
    public class Config
    {
        public static string ClientAuthUrl
        {
            get { return System.Configuration.ConfigurationSettings.AppSettings["ClientAuthUrl"]; }
        }

        public static string IssueAuthTokenUrl
        {
            get { return System.Configuration.ConfigurationSettings.AppSettings["IssueAuthTokenUrl"]; }
        }

        public static string Email
        {
            get { return System.Configuration.ConfigurationSettings.AppSettings["Email"]; }
        }

        public static string Password
        {
            get { return System.Configuration.ConfigurationSettings.AppSettings["Password"]; }
        }

        public static string SocketServerAddr
        {
            get { return System.Configuration.ConfigurationSettings.AppSettings["SocketServerAddr"]; }
        }

        public static int SocketServerPort
        {
            get { return int.Parse(System.Configuration.ConfigurationSettings.AppSettings["SocketServerPort"]); }
        }

        public static string UserListFilePath
        {
            get { return System.Configuration.ConfigurationSettings.AppSettings["UserFilePath"]; }
        }
    }
}
